package com.wangchao.task.controller.task;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <Description> TODO
 *
 * @author wang.chao
 * @version 1.0
 * @date 2021/11/17 18:03:00
 */
@RestController
@RequestMapping("/task")
@Api(value = "任务处理")
@Slf4j
public class TaskController {

    @GetMapping("/crateTask")
    @ApiOperation(value = "创建任务")
    String crateTask(){
        log.info("abc");
        return "创建成功！！！";
    }
}
